package com.tencent.service.impl;

import com.tencent.entity.Plan;
import com.tencent.mapper.PlanMapper;
import com.tencent.service.PlanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: Fame
 * @date: 2022-08-31 11:28
 * @description:
 */
@Service
public class PlanServiceImpl implements PlanService {

    @Autowired
    private PlanMapper planMapper;

    @Override
    public List<Plan> getByLevel(String level) {
        return planMapper.getByLevel(level);
    }
}
